package com.uam.core.entity.model;

import com.alibaba.fastjson.JSONArray;
import com.alibaba.fastjson.JSONObject;

public abstract class TaskDetail {

	private int taskId = 0;

	private String taskName = null;

	private JSONObject startPoint = null;

	private JSONObject endPoint = null;

	private JSONArray passPoints = null;

	private int status = 0;

	private int mode = 0;

	private double distance = 0.00D;

	private double cost = 0.00D;

	private int aircraftId = 0;

	private String aircraftName = null;

	private double minAltitude = 0.00D;

	private double maxAltitude = 0.00D;

	private double maxSpeed = 0.00D;

	private double maxDuration = 0.00D;

	private long startTime = 0L;

	private double avgSpeed = 0.00D;

	private String modelName = null;

	private int authorId = 0;

	private String authorName = null;

	protected TaskDetail(int taskId, String taskName, JSONObject startPoint, JSONObject endPoint, JSONArray passPoints,
			int status, int mode, double distance, double cost, int aircraftId, String aircraftName, double minAltitude,
			double maxAltitude, double maxSpeed, double maxDuration, long startTime, double avgSpeed, String modelName,
			int authorId, String authorName) {
		this.taskId = taskId;
		this.taskName = taskName;
		this.startPoint = startPoint;
		this.endPoint = endPoint;
		this.passPoints = passPoints;
		this.status = status;
		this.mode = mode;
		this.distance = distance;
		this.cost = cost;
		this.aircraftId = aircraftId;
		this.aircraftName = aircraftName;
		this.minAltitude = minAltitude;
		this.maxAltitude = maxAltitude;
		this.maxSpeed = maxSpeed;
		this.maxDuration = maxDuration;
		this.startTime = startTime;
		this.avgSpeed = avgSpeed;
		this.modelName = modelName;
		this.authorId = authorId;
		this.authorName = authorName;
	}

	public int getTaskId() {
		return taskId;
	}

	public void setTaskId(int taskId) {
		this.taskId = taskId;
	}

	public String getTaskName() {
		return taskName;
	}

	public void setTaskName(String taskName) {
		this.taskName = taskName;
	}

	public JSONObject getStartPoint() {
		return startPoint;
	}

	public void setStartPoint(JSONObject startPoint) {
		this.startPoint = startPoint;
	}

	public JSONObject getEndPoint() {
		return endPoint;
	}

	public void setEndPoint(JSONObject endPoint) {
		this.endPoint = endPoint;
	}

	public JSONArray getPassPoints() {
		return passPoints;
	}

	public void setPassPoints(JSONArray passPoints) {
		this.passPoints = passPoints;
	}

	public int getStatus() {
		return status;
	}

	public void setStatus(int status) {
		this.status = status;
	}

	public int getMode() {
		return mode;
	}

	public void setMode(int mode) {
		this.mode = mode;
	}

	public double getDistance() {
		return distance;
	}

	public void setDistance(double distance) {
		this.distance = distance;
	}

	public double getCost() {
		return cost;
	}

	public void setCost(double cost) {
		this.cost = cost;
	}

	public int getAircraftId() {
		return aircraftId;
	}

	public void setAircraftId(int aircraftId) {
		this.aircraftId = aircraftId;
	}

	public String getAircraftName() {
		return aircraftName;
	}

	public void setAircraftName(String aircraftName) {
		this.aircraftName = aircraftName;
	}

	public double getMinAltitude() {
		return minAltitude;
	}

	public void setMinAltitude(double minAltitude) {
		this.minAltitude = minAltitude;
	}

	public double getMaxAltitude() {
		return maxAltitude;
	}

	public void setMaxAltitude(double maxAltitude) {
		this.maxAltitude = maxAltitude;
	}

	public double getMaxSpeed() {
		return maxSpeed;
	}

	public void setMaxSpeed(double maxSpeed) {
		this.maxSpeed = maxSpeed;
	}

	public double getMaxDuration() {
		return maxDuration;
	}

	public void setMaxDuration(double maxDuration) {
		this.maxDuration = maxDuration;
	}

	public long getStartTime() {
		return startTime;
	}

	public void setStartTime(long startTime) {
		this.startTime = startTime;
	}

	public double getAvgSpeed() {
		return avgSpeed;
	}

	public void setAvgSpeed(double avgSpeed) {
		this.avgSpeed = avgSpeed;
	}

	public String getModelName() {
		return modelName;
	}

	public void setModelName(String modelName) {
		this.modelName = modelName;
	}

	public int getAuthorId() {
		return authorId;
	}

	public void setAuthorId(int authorId) {
		this.authorId = authorId;
	}

	public String getAuthorName() {
		return authorName;
	}

	public void setAuthorName(String authorName) {
		this.authorName = authorName;
	}

}
